<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div class="container"></div>
  </body>
  <style>
    .container {
      width: 300px;
      height: 300px;
      border-radius: 50%;
      background: url('../img/1.jpeg') 100% 100%;
      position: relative;
      cursor: pointer;
    }
    .container::before {
      content: '';
      height: 100%;
      width: 100%;
      display: block;
      border-radius: 50%;
      background-color: rgba(0, 0, 0, 0.5);
      position: absolute;
    }
    .container::after {
      content: '';
      height: 100%;
      width: 100%;
      display: block;
      border-radius: 50%;
      background: url('../img/1.jpeg') 100% 100%;
      position: absolute;
      clip-path: circle(0% at 50% 50%);
      transition: 0.5s ease-in;
    }
    .container:hover::after {
      clip-path: circle(50% at 50% 50%);
    }
  </style>
</html>
